home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 84 / MacAddict_084_2003_08.iso / mac / Software / Fun & Games / Orbz 2.0 demo.dmg / Orbz Demo 2.0 / admin.txt < prev    next >
Text File  |  2003-04-15  |  5KB  |  103 lines

  1. Getting Started
  2. ===============
  3. Remotely administering a dedicated Orbz Server can be done in-game.  This document describes the available System Administration (SAD) functions.
  4.  
  5. To execute a SAD command, you must first connect to the dedicated server with the Orbz client.  Once connected, open the console window (by pressing ~) and typing commands into the edit control ñ followed by pressing Enter to accept the command.  Commands must be entered exactly as show, including the semi-colon at the end.
  6.  
  7. Before all other SAD commands can be executed, you must log into the server as an administrator.  Do this by entering the following command into the console:
  8.  
  9. sad(ìpasswordî);
  10.  
  11. Replace ìpasswordî with the admin password configured on the server (set using the $pref::Server::AdminPassword variable in serverprefs.cs).
  12.  
  13. Once logged in, the following commands are available:
  14.  
  15.  
  16. Commands
  17. ========
  18.  
  19. sadSetPassword(ìnewPasswordî);
  20. This will change the admin password to ìnewPasswordî.  Of course, replace ìnewPasswordî with your password of choice.
  21.  
  22. sadSetHost(ìplayerNameî);
  23. Assign ìplayerNameî host responsibilities.  Host responsibilities in Orbz include selecting the course to play, number of rounds, and time limit.  The Host also is responsible for starting the matches and managing Botz.  Replace ìplayerNameî with the exact name (case sensitive) of the player you wish to kick.
  24.  
  25. sadKick(ìplayerNameî);
  26. Kick ìplayerNameî from the server.  Replace ìplayerNameî with the exact name (case sensitive) of the player you wish to kick.
  27.  
  28. sadResetServer();
  29. Kicks everyone out (including you) and resets the dedicated server completely.  This process doesnít take very long so you should be able to rejoin the server pretty quickly.
  30.  
  31. setSetMaxPlayers(ìmaxPlayersî);
  32. Sets the maximum numbers of human players allowed in a servers.  There is a hard limit of 10 players currently, but this command can be used to set that value lower.  Replace ìmaxPlayersî with the actual number of players.
  33.  
  34. sadAddBot(ìdifficultyLevelî);
  35. Adds a Bot to the server at the specified difficulty level.  There are 4 levels of difficulty for a bot specified by a number:  1 = easy, 2 = good, 3 = tough, and 4 = expert.  Replace ìdifficultyLevel with the numeric value representing the difficulty level you wish to use.  Note that Bot names are chosen automatically.
  36.  
  37. sadAddBot();
  38. Adds a Bot to the server with a difficulty level equal to the pre-configured server variable $pref::Server::startingBotLevel.
  39.  
  40. sadRemoveBot();
  41. Removes a random Bot from the server.
  42.  
  43. sadRemoveBotByName(ìbotNameî);
  44. Remove a specific Bot from the server.  Replace ìbotNameî with the exact name of the Bot (case sensitive) you want to remove.
  45.  
  46. sadRemoveAllBots();
  47. Removes all Botz from the server.
  48.  
  49. sadSetBotLevel(ìbotNameî, ìdifficultyLevelî);
  50. Sets the difficulty level of a specified Bot.  Replace ìbotNameî with the exact name of the Bot (case sensitive) you want to remove.  Replace ìdifficultyLevelî with the appropriate numeric value for the difficulty level you wish to use (1 = easy, 2 = good, 3 = tough, and 4 = expert).
  51.  
  52. sadSetBotAutoLevel(ìautoLevelî);
  53. By default, Botz will automatically adjust their difficulty level after each match in order to always give players a challenge.  If you want to disable this feature replace ìautoLevelî with ì0î.  If you want to enable this feature replace ìautoLevelî with ì1î.
  54.  
  55. sadSetBotStartingLevel(ìstartingLevelî);
  56. To change the starting level for Botz added to the server by the Host player, call this command and replace ìstartingLevelî with the appropriate numeric value representing the difficulty level you wish to use (1 = easy, 2 = good, 3 = tough, and 4 = expert).
  57.  
  58. sadSetBotTauntFrequency(ìtauntFrequencyî);
  59. Change the amount of taunting that Botz on the server will do.  For every shot that a Bot takes, there is a percentage chance that it will send a voice taunt.  Replace ìtauntFrequencyî with a value from 0 to 100, representing the percentage of the time in which the Bot should taunt.  Setting the taunt frequency to 0 will stop all Botz from taunting and setting it to 100 will cause Botz to taunt every shot.
  60.  
  61. sadSetFloodProtection(ìenableî);
  62. Enable or disable flood protection on chatting.  Replace "enable" with "1" to enable the feature and "0" to disable the feature.
  63.  
  64.  
  65. Examples
  66. ========
  67.  
  68. sad(ìjujubeans1276î);
  69. Log into the server with the password ìjujubeans1276î.
  70.  
  71. sadSetPassword(ì2sentry7î);
  72. Sets the admin password on the server to ì2sentry7î.
  73.  
  74. sadSetHost(ìJack Trashî);
  75. Assigns host capability to the player named ìJack Trashî.
  76.  
  77. sadKick(ìTopherî);
  78. Kicks the player named ìTopherî from the server.
  79.  
  80. setSetMaxPlayers(5);
  81. Sets the maximum number of players to 5 for the server.
  82.  
  83. sadAddBot(4);
  84. Adds a level 4 (expert) Bot to the server.
  85.  
  86. sadRemoveBotByName(ìLucky Appleî);
  87. Removes the Bot named ìLucky Appleî from the server.
  88.  
  89. sadSetBotLevel(ìKid Crunchî, 1);
  90. Adds a Bot names ìKid Crunchî to the server with a difficulty level of 1 (easy).
  91.  
  92. sadSetBotAutoLevel(0);
  93. Disables the automatic adjustment of Bot difficulty level after each match.
  94.  
  95. sadSetBotStartingLevel(2);
  96. Sets the starting level for Botz that are added by the Host player to level 2 (good).
  97.  
  98. sadSetBotTauntFrequency(10);
  99. Botz will only taunt 10% of the time.
  100.  
  101. sadSetFloodProtection(0);
  102. Disable flood protection.
  103.